package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.entity.BountyReply;
import com.homedo.odin.solution.model.entity.BountyReplyBean;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 悬赏回复 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface BountyReplyMapper extends BaseDao<BountyReply> {

    /**
     * 获取悬赏回复列表
     */
    List<BountyReplyBean> getBountyReplyList(@Param("bountyId") int bountyId);

    /**
     * 获取我的回复列表
     */
    List<BountyReplyBean> getMyBountyReplyList(@Param("userId") int userId, @Param("isAdopt") int isAdopt,
            @Param("startTime") long startTime, @Param("endTime") long endTime);
}